<?php
	$query[550] = mysql_query("SELECT * FROM geo_blog ORDER BY id DESC LIMIT 10");
	print mysql_error();
	while($result = mysql_fetch_array($query[550])) {
		$temp_id = $result['id'];
		//$temp_date = convdate($result['timestamp']);
		$temp_data = $result['playlist'];
		$temp_title = $result['title'];
		$temp_views = $result['views'];
		$query[758] = mysql_query("SELECT count(*) AS total FROM geo_comment WHERE linkid=$temp_id");
		$comments = mysql_fetch_array($query[758]);
		if($comments['total'] < 1) {
			$comments['total'] = 0;
		}
		print("<b><img src='images/arrow.gif'>&nbsp;".$temp_data . " </b><a href=\"eventos.php?id=" . $temp_id . "\"><br>&nbsp;" . $temp_title . "</a><br>");
		echo '<div style="clear:both; padding-bottom:10px;"></div>';
	} //End While
	?>
